package com.rengl.service.impl;

import com.rengl.model.User;
import com.rengl.service.UserService;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UserDeGradeService implements UserService {
    @Override
    public void add(User user) {
        System.out.println("服务熔断降级");
    }

    @Override
    public List<User> list() {
        System.out.println("服务熔断降级");
        return null;
    }
}
